package com.drinkdelivery.common.request;

import com.drinkdelivery.common.annotation.Excel;
import com.drinkdelivery.common.domain.ProductSku;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ProductsRequest {

    /** 商品ID，主键，自增 */
    private Long id;

    /** 商户id */
    @Excel(name = "商户id")
    private Integer merchantId;

    /** 商品名称 */
    @ApiModelProperty(value = "商品名称")
    @Excel(name = "商品名称")
    private String name;

    /** 商品描述 */
    @ApiModelProperty(value = "商品描述")
    @Excel(name = "商品描述")
    private String description;

    /** 分类ID */
    @ApiModelProperty(value = "分类ID")
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 封面 */
    @ApiModelProperty(value = "封面")
    @Excel(name = "封面")
    private String cover;

    /** 商品图片URL */
    @ApiModelProperty(value = "商品图片URL")
    @Excel(name = "商品图片URL")
    private String imageUrl;

    /** 商品状态，1-在售，0-下架 */
    @ApiModelProperty(value = "商品状态，1-在售，0-下架")
    @Excel(name = "商品状态，1-在售，0-下架")
    private Integer isShow;

    /** 标签，如“超值热销”、“精选好货”等 */
    @ApiModelProperty(value = "标签，如“超值热销”、“精选好货”等")
    @Excel(name = "标签，如“超值热销”、“精选好货”等")
    private String tags;

    /** 用于排序的分数 */
    @ApiModelProperty(value = "用于排序的分数")
    @Excel(name = "用于排序的分数")
    private Integer score;

    /** 商品评分 */
    @ApiModelProperty(value = "商品评分")
    @Excel(name = "商品评分")
    private BigDecimal rating;

    /** 评价数量 */
    @ApiModelProperty(value = "评价数量")
    @Excel(name = "评价数量")
    private Integer reviewCount;

    /** 品牌id */
    @Excel(name = "品牌id")
    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    /** 生产地 */
    @Excel(name = "生产地")
    @ApiModelProperty(value =  "生产地")
    private String productArea;

    /** 酒精度 */
    @Excel(name = "酒精度")
    @ApiModelProperty(value = "酒精度")
    private Long alcohol;

    /** 麦汁浓度 */
    @Excel(name = "麦汁浓度")
    @ApiModelProperty(value = "麦汁浓度")
    private Long plato;

    /** 推荐原因 */
    @Excel(name = "推荐原因")
    @ApiModelProperty(value = "推荐原因")
    private String recommendReason;

    /** 跳转链接 */
    @Excel(name = "跳转链接")
    @ApiModelProperty(value =  "跳转链接")
    private String skipUrl;

    /** 正品保真,0:否,1:是 */
    @Excel(name = "正品保真,0:否,1:是")
    @ApiModelProperty(value = "正品保真,0:否,1:是")
    private Integer authenticity;

    /** 不冰必赔,0:否,1:是 */
    @Excel(name = "不冰必赔,0:否,1:是")
    @ApiModelProperty(value = "不冰必赔,0:否,1:是")
    private Integer noIceCompensation;

    /** 七天无理由0:否1:是 */
    @Excel(name = "七天无理由0:否1:是")
    @ApiModelProperty(value = "七天无理由0:否1:是")
    private Integer sevenDayNoReason;

    /** 假一赔十,0:否,1:是 */
    @Excel(name = "假一赔十,0:否,1:是")
    @ApiModelProperty(value = "假一赔十,0:否,1:是")
    private Integer falseCompensation;

    /** 真品鉴定,0:否,1:是 */
    @Excel(name = "真品鉴定,0:否,1:是")
    @ApiModelProperty(value = "真品鉴定,0:否,1:是")
    private Integer realIdentify;


    @ApiModelProperty(value = "商品SKU列表")
    private List<ProductSkuRequest> productSkuRequestList;
}
